home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
compress
/
unlzh172.lzh
/
UNLZH.DOC
< prev
next >
Wrap
Text File
|
1990-08-04
|
16KB
|
330 lines
UNLZH version 1.7 - A program for extracting .LZH archive files.
UNLZH combines an easy to use, GEM based interface with high speed
extraction routines, to give you a much simpler and much faster way to
extract LZH archives. It is a self contained program - you do not need
to have LHARC or any 'shell'. It is written in 100% Assembly language,
and extracts approximately four times faster than LHARC.
UNLZH can search past damaged sections of an archive, and should be able
to extract the rest of the files.
UNLZH can also extract multiple archives at once, and place the contents
in individual folders.
How to Use the Program:
-----------------------
UNLZH will start with a menu screen that contains configuration options,
and all the main functions. In the upper part of the menu are two program
options that should be set up before selecting any of the function buttons
in the lower part.
The first option, Create Folders, can be used if you want the program to
create a folder with the same name as the archive file, and place all the
extracted contents within it. If you want to extract directly to the
destination path, select 'No' for the Create Folders option.
When the second option, Overwrite Files, is set to 'No', the program will
prompt you if one of the files to be extracted already exists. (Similar
to the warning the GEM desktop gives you when you try to copy a file that
already exists). Selecting 'Yes' for this option will bypass the warning
prompt, and overwrite any files that may have already existed.
Program Functions:
------------------
- Extract -
The first, and default function is to Extract all. This will prompt you
for an input archive file, then a destination path, and then extract all
the files from the archive. If the Create Folders option is turned on,
a folder will be created at the destination path, and the files will be
extracted into it. If a folder by that name already exists, the program
will extract into the already existing folder.
To extract multiple archives at once, just enter an '*' for the input
filename. UNLZH will then extract all of the archives in that directory.
You should have the Create Folders option turned on, so that the archives
will extract into separate folders.
- W/Query -
Extract With Query operates the same as the full Extract, except that
after selecting the input archive file, another menu will come up which
displays all of the files contained in the archive. You may click on
individual files to select them, or hold the left mouse button down and
drag the pointer over a group of files. Files selected for extraction are
indicated by having an '*' placed in front of the file name. Files may
also be deselected in the same way. When you have selected all the
desired files, click on the Extract button. The ALL button is a short
cut, in case you decide you want all the files after all, and don't want
to select them all manually. You can also click on Quit, which will
return you to the initial menu.
If the archive file has been damaged, some of the selections may display as
'- Bad Header -'. These sections cannot be extracted, however UNLZH will
search the rest of the archive to find as many good files as possible.
- To Screen -
Extract to Screen also displays a menu of the archive contents. Some files
may already be selected for extraction. Any file beginning with READ, or
having the extension .TXT, .DOC, or .ASC, will be marked. Also, if there
is only one file in the archive, it will be marked to extract. If you wish
to extract the pre-selected files, you can immediately select the Screen or
Printer option at the bottom of the menu. Otherwise, you may manually
select which file(s) you want to look at in the same manner as described for
Extract with Query.
A maximum of 3 files will be marked, except in cases where the archive
contains all text files, in which case none of the files will be pre-marked.
Screen listings will pause every 24 lines. (Or more if you are using a
larger screen). There are many options to control the screen listing:
Left Mouse Button - Continue listing one line at a time
Right Mouse Button - Reverse scroll the listing, one line at a time
Both Buttons - Abort listing
'Return' - Display one line at a time
'Down Arrow' or 'Space Bar' - Display one screen at a time
'Up Arrow' - Back up to the previous screen
'Shift' & 'Down Arrow' - Jump 4 screens forward
'Shift' & 'Up Arrow' - Jump 4 screens backward
'Home' - Return to the top of the file
'S' - Enter Search and Move menu:
To perform a search, enter a phrase to search for, and select whether
the program should 'Match', or 'Ignore' differences in upper/lower
case. Then click on either 'Search' or 'Next' to begin searching.
(You may also press the 'Return' key for the Next function).
'Search' will start at the top of the file, and 'Next' will start at
the current location. The program will display the next line that
contains the search phrase. If no match was found, the display will
be in the same place, and the Bell will sound.
The other buttons allow you to jump directly to one of five positions.
'Top' jumps to the top of the file. (Same as Home)
'1/4' jumps to a position one quarter of the way through the file
'1/2' jumps to half way through the file
'3/4' jumps three quarters of the way through
'End' jumps to the end of the file
'N' - Display the 'Next' match, using the current search phrase
'P' - Send a block of text to the Printer:
The first 'P' will mark the top line of the current screen as the top
of the block. Then move down to the end of the area you wish to print,
and press 'P' again. This will send all of the text from your first
mark, to the bottom line of the ending screen, to the printer.
'D' - Send a block of text to a disk file. This works the same as the 'P'
function, except you will get a GEM file selector to enter a name for
the text file to write the block to.
Press 'ESC' to abort either screen or printer listings.
If multiple files were selected for extraction, Abort will progress to the
next file. This, combined with the search capabitities, allows you to
search multiple files very easily.
Notes: In low memory situations, where there is not enough room to store
the entire extracted file, the process is done in segments, and there are a
few differences in the way the program responds.
Backing up the display is limited to how much of the extracted file is still
in memory. You may find a point where you can't back up any further. This
is because the data before this point has been overwritten. This
restriction does not occur with the Home, Search, and Jump functions, and
they may be used to get back to earlier sections of the file.
After a search where a match is not found, the program will try to return
to the previous location. If that spot is no longer in memory, the program
will jump to the top of the file.
When using the Print Block feature, you may be scrolling the file across one
of the segment boundaries. If this happens the program will immediately
send all the data so far, out to the printer. The scrolling process will be
paused until the data has been sent. Afterwards, you can continue scrolling
to the desired end position, and press 'P' to print the rest of the data.
Again, unless you operate the program in low memory situations, and/or
extract large text files, you will not see any of these behaviors.
- Test -
The Test function is used to test the files in an archive without actually
extracting any of them. It will display 'Okay' after each valid file, and
report any problems found in the archive. It operates like Extract with
Query, but does not ask you for a destination path, (as it does not write
out any extracted files).
- View -
View allows you to look at all the files in an archive. It will ask for
an input archive file, and then displ